/*
 * XXX
 */

package edu.uhcl.csci4838.group3.dto;

import java.util.List;

/**
 * XXX
 * 
 * @author Chris Waguespack
 */
public class Category {
	
	private String name;
	private Course course;
	private List<Task> tasks;
	private Double weight;
	
	/**
	 * XXX
	 * 
	 * @param name
	 * @param course
	 * @param tasks
	 * @param weight
	 * @param iconName
	 */
	public Category(String name,
			Course course,
			List<Task> tasks,
			Double weight) {
		super();
		this.name = name;
		this.course = course;
		this.tasks = tasks;
		this.weight = weight;
	}

	/**
	 * XXX
	 */
	public Category() {
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Course getCourse() {
		return this.course;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public String getName() {
		return this.name;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public List<Task> getTasks() {
		return this.tasks;
	}
	
	/**
	 * Returns XXX.
	 * 
	 * @return XXX
	 * @see #setXXX
	 */
	public Double getWeight() {
		return this.weight;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param course
	 *            XXX
	 * @see #getXXX
	 */
	public void setCourse(final Course course) {
		this.course = course;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param name
	 *            XXX
	 * @see #getXXX
	 */
	public void setName(final String name) {
		this.name = name;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param tasks
	 *            XXX
	 * @see #getXXX
	 */
	public void setTasks(final List<Task> tasks) {
		this.tasks = tasks;
	}
	
	/**
	 * Sets XXX.
	 * 
	 * @param weight
	 *            XXX
	 * @see #getXXX
	 */
	public void setWeight(final Double weight) {
		this.weight = weight;
	}
	
}
